"""
@author: Sergiy Tsymbalyuk
"""

import logging

from repoze.what.plugins.pylonshq import ControllerProtector
from repoze.what.predicates import in_group

from chowa.lib.site.crud import FlatCrudController
from chowa.model import App

log = logging.getLogger(__name__)

@ControllerProtector(in_group('administrators'))
class AppsController(FlatCrudController):
    __model__ = App
